package org.yangspring.samples.mvc.domainOracle;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Date;

/**
 * Created by whyang on 2017/06/22.
 */

@Entity
@Table(schema = "SYS", name = "DBA_USERS")
public class DBAUsers {

    @Id
    @Column(name = "USERNAME")
    private String username;

    @Column(name = "USER_ID")
    private Integer userId;

    @Column(name = "PASSWORD")
    private String passwd;

    @Column(name = "ACCOUNT_STATUS")
    private String accountStatus;

    @Column(name = "LOCK_DATE")
    private Date lockDate;

    @Column(name = "EXPIRY_DATE")
    private Date expiryDate;

    @Column(name = "DEFAULT_TABLESPACE")
    private String dftTablespace;

    @Column(name = "TEMPORARY_TABLESPACE")
    private String tempTablespace;

    @Column(name = "CREATED")
    private Date created;

    @Column(name = "PROFILE")
    private String profile;

    @Column(name = "INITIAL_RSRC_CONSUMER_GROUP")
    private String initRESCCnsmrGrp;

    @Column(name = "EXTERNAL_NAME")
    private String externalName;

    @Column(name = "PASSWORD_VERSIONS")
    private String passwdVersion;

    @Column(name = "EDITIONS_ENABLED")
    private String editionsEnable;

    @Column(name = "AUTHENTICATION_TYPE")
    private String authType;

    public void setUsername(String username){
        this.username = username;
    }
    public String getUsername(){
        return this.username;
    }

    public void setUserId(Integer userId){
        this.userId = userId;
    }
    public Integer getUserId(){
        return this.userId;
    }

    public void setPasswd(String passwd){
        this.passwd = passwd;
    }
    public String getPasswd(){
        return this.passwd;
    }

    public void setAccountStatus(String accountStatus){
        this.accountStatus = accountStatus;
    }
    public String getAccountStatus(){
        return this.accountStatus;
    }

    public void setLockDate(Date lockDate){
        this.lockDate = lockDate;
    }
    public Date getLockDate(){
        return this.lockDate;
    }

    public void setExpiryDate(Date expiryDate){
        this.expiryDate = expiryDate;
    }
    public Date getExpiryDate(){
        return this.expiryDate;
    }

    public void setDftTablespace(String dftTablespace){
        this.dftTablespace = dftTablespace;
    }
    public String getDftTablespace(){
        return this.dftTablespace;
    }

    public void setTempTablespace(String tempTablespace){
        this.tempTablespace = tempTablespace;
    }
    public String getTempTablespace(){
        return this.tempTablespace;
    }

    public void setCreated(Date created) {
        this.created = created;
    }
    public Date getCreated(){
        return this.created;
    }

    public void setProfile(String profile){
        this.profile = profile;
    }
    public String getProfile(){
        return this.profile;
    }

    public void setInitRESCCnsmrGrp(String initRESCCnsmrGrp){
        this.initRESCCnsmrGrp = initRESCCnsmrGrp;
    }
    public String getInitRESCCnsmrGrp(){
        return this.initRESCCnsmrGrp;
    }

    public void setExternalName(String externalName){
        this.externalName = externalName;
    }
    public String getExternalName(){
        return this.externalName;
    }

    public void setPasswdVersion(String passwdVersion){
        this.passwdVersion = passwdVersion;
    }
    public String getPasswdVersion(){
        return this.passwdVersion;
    }

    public void setEditionsEnable(String editionsEnable){
        this.editionsEnable = editionsEnable;
    }
    public String getEditionsEnable(){
        return this.editionsEnable;
    }

    public void setAuthType(String authType){
        this.authType = authType;
    }
    public String getAuthType(){
        return this.authType;
    }



}
